
<style type="text/css">
.aaa {background: #2B2B2B;color: #FFF;}
.fengg{    font-family: '微软雅黑';}
</style>


<!-- content -->
<div class="wind_alldivs1">
  <div class="auto">
     <div class="subnav">
        <ul class="crumbs">
            <li>我的位置：</li>
            <li><a href="{$site_url}">{$site_name} </a> </li>
            <li><a href="{$Categorys[$catid]['url']}">&nbsp; &gt; {$Categorys[$catid]['catname']} </a></li>
          
            <div class="clear"></div>
        </ul>
 
     </div>

      <!-- 左边 -->
      <div class="wind_SPdivL" style="border-radius:10px;">
        <ul class="wind_GLlist1">
          <li><a  class="<?php if($_GET['id']==3){echo aaa;}?> yuan" href="index.php?m=News&a=index&id=3">全部</a></li>
            <YP:subcat  catid="3">
             <li><a  class="<?php if($_GET['id']==$r['id']){echo aaa;}?> yuan" href="{$r.url}">{$r.catname}</a></li>
            </YP:subcat>
            {if $_GET['id']==15 || $_GET['id']==19 || $_GET['id']==20 || $_GET['id']==21}
            <li style=" float:right;">
            风格:<select id="fengge" class="fengg yuan">
                   <option class="fengg" value="0">全部</option>
                     <YP:subcat  catid="15">
                  <option class="fengg"  value="{$r.id}">{$r.catname}</option>
                  </YP:subcat>
              </select></li>
           {/if}
           
           {if $_GET['id']==14 || $_GET['id']==16 || $_GET['id']==17 || $_GET['id']==18}
            <li style=" float:right;">
            分类:<select id="fengge" class="fengg">
                   <option class="fengg" value="0">全部</option>
                     <YP:subcat  catid="14">
                  <option class="fengg"  value="{$r.id}">{$r.catname}</option>
                  </YP:subcat>
              </select></li>
           {/if}
 <script type="text/javascript">
 $(document).ready(function(){
  $("#fengge").change(function(){
    var id=$(this).val();
	url='index.php?m=News&a=index&id='+id;
	window.location.href=url;
  });
});
 </script>                 
                
          <div style="clear:both;"></div>
        </ul>
        <div style="clear:both;border-bottom:solid 1px #DDD;"></div>
        <!-- list_content -->
            <volist name="list" id="r" key="key" >
                       
                          <div class="wind_GLlist1son">
             <a href="{$r['url']}"><img width="290" height="175" class="wind_GLlistimg" src="{$r['pic']}" /></a>
              <ul class="wind_GLlist1sonul">
                   <a href="{$r['url']}"> <li style="font-size:16px;font-weight:bold;">{$r['title']}</li></a>
                    <li class="wind_SPdivRson11li2s">
                      <img src="../Public/images/windimg41.png" />&nbsp; {$r['createtime']|toDate=###,'Y-m-d H:i'}&nbsp;&nbsp;&nbsp;&nbsp;
                      <span>
                        <img src="../Public/images/windimg42.png" />&nbsp;{$r['hits']}
                      </span>
                    </li>
                    <li style="color:#666;line-height:25px;">
                    {$r['description']|str_cut=###,280}
                    </li>
                    <li>
                      <a href="{$r['url']}" class="wind_GLlist1sonula yuan">查看</a>
                    </li>
               </ul>
               <div style="clear:both;"></div>
               </div>
              </volist>
        
        
        
        
        
        
        
        <!-- page -->

                  

        <ul class="paging" style=" height:30px; text-align:center; margin-top:30px; margin-bottom:30px;">
            <ul>
           {$pages}
           </ul>
        <div class="clear"></div>
   
      </ul>
      </div>
      <!-- 右边 -->
      <div class="wind_SPdivR" style="border-radius:10px;min-height:365px;">
        <div class="wind_SPdivRson1" style="overflow:hidden;">
         
            <span class="windSpan5">热门{$Categorys['14']['catname']}<!--<img src="../Public/images/windimg33.png" />--></span>
            <YP:list  name="News" order="id desc"  limit="1"  where="pos_hot=1" catid="14"  id="r">
              <a href="{$r['url']}"><img width="100%" src="{$r['pic']}" /></a>
            </YP:list>
            <ul class="wind_SPdivRson1ULs2">
             
             <YP:list  name="News" order="id desc"  limit="4"  where="pos_hot=1" catid="14"  id="r">
                 <a href="{$r['url']}"><li>{$r['title']|str_cut=###,35}</li></a>
            </YP:list>
            
            </ul>
        </div>
        <div style="clear:both;border-top:solid 25px #EEE;margin-top:20px;"></div>
        <div class="wind_SPdivRson1" style="overflow:hidden;">
            <span class="windSpan5">热门{$Categorys['15']['catname']}<!--<img src="../Public/images/windimg33.png" />--></span>
            
            
            <YP:list  name="News" order="id desc"  limit="4" where="pos_hot=1" catid="15"  id="r">
              
          
            <div class="wind_SPdivRson11">
             <a href="{$r['url']}"> <img width="100%" src="{$r['pic']}" /></a>
              <ul>
               <a href="{$r['url']}">  <li style="font-size:14px;line-height:30px;">{$r['title']}</li></a>
                <li class="wind_SPdivRson11li">
                  <img src="../Public/images/windimg38.png" />&nbsp;{$r['createtime']|toDate=###,'Y-m-d H:i'}
                  <span style="float:right;">
                    <img src="../Public/images/windimg39.png" />&nbsp;{$r['hits']}
                  </span>
                </li>
              </ul>
            </div>
          </YP:list>
            
        </div>
      </div>
      <div style="clear:both;"></div>
      <div style="width:100%;height:40px;"></div>
          <!-- end -->
  </div>
</div>
<div style="clear:both;"></div>
<script type="text/javascript">
$("#windspan1").click(function(){
  $(this).attr("class", "wind_newscontentlis1"); 
   $("#windspan2").attr("class", "wind_newscontentlis2"); 
   $("#windspan22").hide();
   $("#windspan11").show();
});
$("#windspan2").click(function(){
 $(this).attr("class", "wind_newscontentlis1"); 
   $("#windspan1").attr("class", "wind_newscontentlis2");
   $("#windspan11").hide();
   $("#windspan22").show();
});
  //搜索
  $('#idState2').mouseover(function(){
    $(this).children('li').css('display','block');
  });
  $('#idState2').mouseout(function(){
    $(this).children('li').css('display','none');
  });
          //点击地址 搜索
        function getva(vals){
         
            $('#text2').html(vals);
        }
        $('#idState2 li').click(function(){
          // alert($(this).children('a').attr('title'));
          $('#date2').attr('value',$(this).children('a').attr('title'));
        })
</script>
                                                                                                                                                